package com.fr.base.core.image4j.codec.bmp;

import com.fr.base.core.image4j.io.LittleEndianInputStream;
import java.io.IOException;

public class ColorEntry
{
  public int bRed;
  public int bGreen;
  public int bBlue;
  public int bReserved;

  public ColorEntry(LittleEndianInputStream paramLittleEndianInputStream)
    throws IOException
  {
    this.bBlue = paramLittleEndianInputStream.readUnsignedByte();
    this.bGreen = paramLittleEndianInputStream.readUnsignedByte();
    this.bRed = paramLittleEndianInputStream.readUnsignedByte();
    this.bReserved = paramLittleEndianInputStream.readUnsignedByte();
  }

  public ColorEntry()
  {
    this.bBlue = 0;
    this.bGreen = 0;
    this.bRed = 0;
    this.bReserved = 0;
  }

  public ColorEntry(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  {
    this.bBlue = paramInt3;
    this.bGreen = paramInt2;
    this.bRed = paramInt1;
    this.bReserved = paramInt4;
  }
}